﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

namespace Lilium.UI.Forms
{
	public sealed class CompletionListNeededEventArgs: EventArgs
	{
		public CompletionListNeededEventArgs(string typedText, int maxItemsCount)
		{
			m_MaxItemsCount = maxItemsCount;
			m_TypedText = typedText;
		}

		#region public IEnumerable<object> CompletionList

		private IEnumerable<object> m_CompletionList;

		public IEnumerable<object> CompletionList
		{
			[DebuggerNonUserCodeAttribute]
			get
			{
				return m_CompletionList;
			}
			[DebuggerNonUserCodeAttribute]
			set
			{
				m_CompletionList = value;
			}
		}

		#endregion

		#region public int MaxItemsCount

		private readonly int m_MaxItemsCount;

		public int MaxItemsCount
		{
			[DebuggerNonUserCodeAttribute]
			get
			{
				return m_MaxItemsCount;
			}
		}

		#endregion

		#region public string TypedText

		private readonly string m_TypedText;

		public string TypedText
		{
			[DebuggerNonUserCodeAttribute]
			get
			{
				return m_TypedText;
			}
		}

		#endregion
	}
}
